//
//  ZCMainTableViewCell.m
//  VoiceMusic
//
//  Created by dllo on 15/10/16.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCMainTableViewCell.h"
#import <Masonry.h>
#import "ZCBaseLabel.h"
@implementation ZCMainTableViewCell

-(void)layoutSubviews{
    [super layoutSubviews];
    [self.picImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.equalTo(self.contentView).offset(5);
        make.bottom.equalTo(self.contentView).offset(-5);
        make.width.equalTo(@95);
    }];
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView).offset(5);
        make.bottom.equalTo(self.contentView).offset(-45);
        make.left.equalTo(self.contentView).offset(105);
        make.width.equalTo(@200);
    }];
    [self.detailLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView).offset(60);
        make.bottom.equalTo(self.contentView).offset(-20);
        make.left.equalTo(self.contentView).offset(105);
        make.width.equalTo(@100);
    }];
    [self.iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView).offset(40);
        make.bottom.equalTo(self.contentView).offset(-40);
        make.right.equalTo(self.contentView).offset(-30);
        make.width.equalTo(@20);
    }];
    
    [self.foImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.contentView.mas_bottom).offset(-15);
        make.left.equalTo(self.contentView.mas_left).offset(200);
        make.top.equalTo(self.titleLabel.mas_bottom).offset(8);
        make.width.equalTo(@25);
    }];
    
    [self.firstLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.contentView.mas_bottom).offset(-15);
        make.left.equalTo(self.contentView.mas_left).offset(235);
        make.top.equalTo(self.titleLabel.mas_bottom).offset(10);
        make.width.equalTo(@70);
        
    }];
    
}

@end
